.menu {
  display: flex;
}
.menu > div {
  width: 20%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-top: 1%;
  margin-right: 3px;
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
}
.menu > div:hover {
  transition: 0.5s ease;
  color: #4c81c9;
}
.menu > div:hover::after {
  content: '';
  width: 6rem;
  height: 0.3rem;
  background: #4c81c9;
  text-align: center;
  transition: all 0.5s ease-out;
  -webkit-transition: all 0.5s ease-out;
}
.isActive {
  color: #4c81c9;
}
.isActive::after {
  content: '';
  width: 6rem;
  height: 0.3rem;
  background: #4c81c9;
  text-align: center;
}
